gl: Require EGL_KHR_surfaceless_context with egl
authorBenjamin Otte <otte@redhat.com>
Wed, 7 Jul 2021 01:00:09 +0000 (03:00 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 22 Jul 2021 14:27:31 +0000 (16:27 +0200)
commit15ed1a329e2f4939b239d0845f3200df1cdcdd7e
tree8ae89674e630cf500503413e26f817e3781d64cd
parent505436340b6a20b767f53b3dc49ecf9a647c75f0
gl: Require EGL_KHR_surfaceless_context with egl

The code to create and manage a fake egl surface to bind to is
complex and completely untested because everyone seems to support this
extension.

nvidia and Mesa do support it and according to Mesa devs, adding support
in a new driver is rather simple and Mesa drivers gain that feature
automatically, so all future drivers shoould have it.
gdk/wayland/gdkdisplay-wayland.h
gdk/wayland/gdkglcontext-wayland.c
gdk/wayland/gdkprivate-wayland.h
gdk/wayland/gdksurface-wayland.c
gdk/x11/gdkdisplay-x11.h
gdk/x11/gdkglcontext-egl.c